package com.lyj.thread.entity;

import java.util.HashMap;

public class Student {

    public Student() {
    }


    public Student(String name) {
        this.name = name;
    }

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static void main(String[] args) {
       Student s1 = null;
       Student s2 = null;
       s1 = s2;
       s2 = new Student("zs");
        System.out.println(s1.getName());

    }

    public void eat() {

    }



}
